package com.yq.ylmall.dto.search;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "检索封装实体")
public class QueryPageDto {

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "销量排序")
    private Boolean saleNum = true;

    @ApiModelProperty(value = "起始价")
    private Integer startPrice;

    @ApiModelProperty(value = "最终价")
    private Integer endPrice;

    @ApiModelProperty(value = "评论数量排序")
    private Boolean commentCount = true;

    @ApiModelProperty(value = "页码")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "条数")
    private Integer pageSize = 20;

}
